﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace ElingOA6_Admin_DSJCJ.BLL
{
    /// <summary>
    /// 首页BLL
    /// </summary>
    public class Index
    {
        /// <summary>
        /// 根据登录ID获取相关菜单
        /// <creator>zhongyl</creator>
        /// <date>2013-07-02</date>
        /// </summary>
        /// <param name="loginID">用户登录ID</param>
        /// <returns>返回有权限访问的菜单</returns>
        public List<Model.PrvFunctList> GetPrvFunctList(string loginID)
        {
            DAL.PrvFunctList prvFunctListDAL = new DAL.PrvFunctList();
            return prvFunctListDAL.GetPrvFunctList(loginID);
        }


        /// <summary>
        /// 获取所有相关菜单
        /// <creator>zhongyl</creator>
        /// <date>2013-07-12</date>
        /// </summary>
        /// <returns>全部权限菜单</returns>
        public List<Model.PrvFunctList> GetPrvFunctList()
        {
            DAL.PrvFunctList prvFunctListDAL = new DAL.PrvFunctList();
            return prvFunctListDAL.GetPrvFunctList();
        }
    }
}
